package org.example.rowing.domain;

import lombok.Data;

@Data
public class EventResult {
    private Long id;
    private Long eventId;
    private Long teamId;
    private Integer goldMedal;
    private Integer silverMedal;
    private Integer bronzeMedal;
    private Integer totalMedal;
    private Integer totalScore;

    public EventResult() {}

    public EventResult(Long id, Long eventId, Long teamId, Integer goldMedal, Integer silverMedal, Integer bronzeMedal, Integer totalMedal, Integer totalScore) {
        this.id = id;
        this.eventId = eventId;
        this.teamId = teamId;
        this.goldMedal = goldMedal;
        this.silverMedal = silverMedal;
        this.bronzeMedal = bronzeMedal;
        this.totalMedal = totalMedal;
        this.totalScore = totalScore;
    }
}
